Motion.GetAxisVelocity method
Gets the current velocity from an axis. The velocity can be set velocity or actual velocity.
Namespace: IntervalZero.KINGSTAR.OpcUa.Api
Assembly: IntervalZero.KINGSTAR.OpcUa.Api (in IntervalZero.KINGSTAR.OpcUa.Client.dll) Version: 4.4.0.0
Syntax
public KsReturn<double> GetAxisVelocity(
int Index,
McSource Source
)
Public Function GetAxisVelocity(
Index As Integer,
Source As McSource
) As KsReturn(Of Double)
Parameters
Index
Type: int
The index of an axis. Indexes are zero based. Aliases affect this parameter.
Source
Type: McSource
Selects a velocity value to read.
Return value
Returns a KsError code and a double value.
Examples
N/A
See also